import { stringify } from "qs";
import request from "@/utils/request";

// 查询行业信息
export async function getIndustryList() {
  return request(`/zb-common/get-industry-list`);
}

// 查询岗位信息
export async function getIndustryPositionList(params) {
  return request(`/zb-common/get-industry-position-list?${stringify(params)}`);
}

// 查询部门列表
export async function getCompanyDepartmentList(params) {
  return request(`/zb-company-department/list-company-department?${stringify(params)}`
  );
}

// 查询部门列表（带分页）
export async function searchCompanyDepartmentList(params) {
  return request(
    `/zb-company-department/search-company-department?${stringify(params)}`
  );
}
